package br.com.upcoder.fguard.client.shared;

import com.google.gwt.user.client.rpc.IsSerializable;

public class Budget implements IsSerializable {
	private Integer code;
	private String name;
	private Double totalAmount;
	private Double availableAmount;

	public Budget(Integer code, String name, Double totalAmount,
			Double availabeAmount) {
		this.code = code;
		this.name = name;
		this.totalAmount = totalAmount;
		this.availableAmount = availabeAmount;
	}

	public Integer getCode() {
		return code;
	}

	public void setCode(Integer code) {
		this.code = code;
	}

	public String getName() {
		return name;
	}

	public void setName(String budget) {
		this.name = budget;
	}

	public Double getTotalAmount() {
		return totalAmount;
	}

	public void setTotalAmount(Double total) {
		this.totalAmount = total;
	}

	public Double getAvailableAmount() {
		return availableAmount;
	}

	public void setAvailableAmount(Double available) {
		this.availableAmount = available;
	}

}
